<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="ts" uri="/tdqs-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="<s:url value='/js/jquery-1.9.1.min.js'/>"></script>
<head>
<title></title>


</head>

<body>
<img id="bg" src="<s:url value='/theme/default/images/main/bj.jpg'/>" width="100%" height="100%" style="right: 0; bottom: 0;  position: absolute; top: 0px; left: 0; z-index: -1" />

<script>
//document.body.onmouseover=getalt;
//document.body.onmousemove=quickalt;

//document.body.onmouseout=restorealt;
var tempalt='';

function getalt()
{
 if(event.srcElement.alt && (event.srcElement.alt!='' || (event.srcElement.alt=='' && tempalt!='')))
 {
  altlayer.style.left=event.x;
  altlayer.style.top=event.y+20;
  altlayer.style.display='';
  tempalt=event.srcElement.alt;
  tempbg=event.srcElement.altbg;
  tempcolor=event.srcElement.altcolor;
  tempborder=event.srcElement.altborder;
  event.srcElement.alt='';
  altlayer.innerText=tempalt;
  if (typeof(tempbg)!="undefined"){altlayer.style.background=tempbg}else{altlayer.style.background="#FFFFCC"}
  if (typeof(tempcolor)!="undefined"){altlayer.style.color=tempcolor}else{altlayer.style.color=tempcolor="#000000"}
  if (typeof(tempborder)!="undefined"){altlayer.style.border='1px solid '+tempborder;}else{altlayer.style.border='1px solid #000000';}
 }
}
function quickalt()
{
 if(altlayer.style.display=='')
 {
  altlayer.style.left=event.x;
  altlayer.style.top=event.y+10;
 }
}

function restorealt()
{
 event.srcElement.alt=tempalt;
 tempalt='';
 altlayer.style.display='none';
}
$(window).resize(function(){
	$("#project1").height(window.top.window.document.body.clientHeight-85);
	$("#project2").height(window.top.window.document.body.clientHeight-85);
})

$(function(){
	$("#project1").height(window.top.window.document.body.clientHeight-85);
	$("#project2").height(window.top.window.document.body.clientHeight-85);
})
</script>

	
</body>
</html>
